package com.hpc.Service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(name = "articleRelated")
public interface openfeignService {
    @RequestMapping(method = RequestMethod.GET,value = "/ts/article/rpc/getAllArticleByUserId")
    public String getAllArticleByUserId(@RequestParam("userId") String userId,@RequestParam("isNeedFilter") boolean isNeedFilter);
    @RequestMapping(method = RequestMethod.GET,value = "/ts/article/rpc/deleteArticle")
    public String deleteArticle(@RequestParam("articleId") String articleId);
}
